
#ifndef _IBLOCKSIGN_H_
#define _IBLOCKSIGN_H_

//scene
#define SIGN_NODE			10
#define SIGN_SCENE			11
#define SIGN_LIGHT			13
#define SIGN_CAMERA			15
#define SIGN_MESH			17
#define SIGN_GEOMETRY		18
#define SIGN_CONE			26
#define SIGN_CUBE			27
#define SIGN_CYLINDER		28
#define SIGN_SPHERE			29
#define SIGN_TORUS			31
#define SIGN_SURFACE		33

//widget
#define SIGN_WIDGET			101
#define SIGN_BUTTON			102
#define SIGN_SLIDER			103
#define SIGN_COMBOBOX		104
#define SIGN_CheckBox		105
#define SIGN_SpinBox		106
#define SIGN_LineEdit		107
#define SIGN_TextEdit		108
#define SIGN_TreeWidget		109
#define SIGN_ListWidget		110
#define SIGN_TableWidget	111
#define SIGN_ScrollBar		112
#define SIGN_ScrollWidget	113
#define SIGN_Label			114
#define SIGN_Menu			115
#define SIGN_MenuBar		116
#define SIGN_Dialog			117
#define SIGN_GroupBox		118
#define SIGN_Splitter		119
#define SIGN_TabWidget		120
#define SIGN_Viewer			121

#define SIGN_FONT			200
#define SIGN_CURSOR			201
#define SIGN_PALETTE		202
#define SIGN_LAYOUT			203
#define SIGN_SPRING			204
#define SIGN_MATERIAL		205
#define SIGN_TEXTURE		206
#define SIGN_PROGRAM		207
#define SIGN_IMAGE			208
#define SIGN_BITMAP			209
#define SIGN_STATE			210
#define SIGN_PIXMAP			211

#define SIGN_OBJECT_MAX		300
//value
#define SIGN_NAME			301
#define SIGN_ENABLE			302
#define SIGN_MASK			303
#define SIGN_VISIBLE		304
#define SIGN_MATRIX			306
#define SIGN_RECT			307
#define SIGN_SPACE			308
#define SIGN_LIGHTING		309
#define SIGN_DEPTHTEST		310
#define SIGN_LINESMOOTH		311
#define SIGN_LINEWIDTH		312
#define SIGN_POINTSMOOTH	313
#define SIGN_POINTSIZE		314
#define SIGN_POLYGONMODE	315
#define SIGN_CULLBACK		316
#define SIGN_BASESIZE		317
#define SIGN_SIZEHINT		318
#define SIGN_COLOR			319
#define SIGN_COLORMAP		320
#define SIGN_COLLIDING		322
#define SIGN_ROWCOUNT		349
#define SIGN_COLUMNCOUNT	350
#define SIGN_ROW			351
#define SIGN_COLUMN			352
#define SIGN_VERTICES		353
#define SIGN_NORMALS		354
#define SIGN_TEXCOORDS		355
#define SIGN_FACES			356
#define SIGN_AMBIENT		357
#define SIGN_DIFFUSE		358
#define SIGN_SPECULAR		359
#define SIGN_EMISSION		360
#define SIGN_SHININESS		361
#define SIGN_ATTENUATION	362
#define SIGN_ATTENUATION2	363
#define SIGN_POSITION		364
#define SIGN_UP				365
#define SIGN_CENTER			366
#define SIGN_WIDTH			367
#define SIGN_NEAR			369
#define SIGN_FAR			370
#define SIGN_FILENAME		373
#define SIGN_FORMAT			374
#define SIGN_SIZE			375
#define SIGN_PIXELS			376
#define SIGN_TITLE			377
#define SIGN_TOOLTIP		378
#define SIGN_MODAL			379
#define SIGN_POS			381
#define SIGN_MINSIZE		382
#define SIGN_MAXSIZE		383
#define SIGN_STRETCH		384
#define SIGN_SIZEPOLICY		385
#define SIGN_BORDER			386
#define SIGN_PERCH			387
#define SIGN_MARGIN			388
#define SIGN_ALIGN			389
#define SIGN_STYLE			390
#define SIGN_ICONSIZE		392
#define SIGN_TEXT			393
#define SIGN_ORITENTION		394
#define SIGN_VALUE			395
#define SIGN_RANGE			397
#define SIGN_STEP			398
#define SIGN_ORIGIN			399
#define SIGN_RIGHT			400
#define SIGN_FRONT			401
#define SIGN_RIGHTSEGMENT	402
#define SIGN_FRONTSEGMENT	403
#define SIGN_BLEND			450
#define SIGN_FILTER			451
#define SIGN_WRAP			452
#define SIGN_BLENDCOLOR		453
#define SIGN_MIPMAP			454

class Block
{
public:
	Block()
	{
		sign = 0;
		begin = 0;
		end = 0;
		size = 0;
	}
	int	sign;
	int	begin;
	int end;
	int size;
};

#endif
